type runtime.headTailIndex
15 uses
runtime (current package)
mspanset.go#L349: type headTailIndex uint64
mspanset.go#L353: func makeHeadTailIndex(head, tail uint32) headTailIndex {
mspanset.go#L354: return headTailIndex(uint64(head)<<32 | uint64(tail))
mspanset.go#L358: func (h headTailIndex) head() uint32 {
mspanset.go#L363: func (h headTailIndex) tail() uint32 {
mspanset.go#L368: func (h headTailIndex) split() (head uint32, tail uint32) {
mspanset.go#L378: func (h *atomicHeadTailIndex) load() headTailIndex {
mspanset.go#L379: return headTailIndex(h.u.Load())
mspanset.go#L383: func (h *atomicHeadTailIndex) cas(old, new headTailIndex) bool {
mspanset.go#L388: func (h *atomicHeadTailIndex) incHead() headTailIndex {
mspanset.go#L389: return headTailIndex(h.u.Add(1 << 32))
mspanset.go#L393: func (h *atomicHeadTailIndex) decHead() headTailIndex {
mspanset.go#L394: return headTailIndex(h.u.Add(-(1 << 32)))
mspanset.go#L398: func (h *atomicHeadTailIndex) incTail() headTailIndex {
mspanset.go#L399: ht := headTailIndex(h.u.Add(1))
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |